home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #5 / Amiga Plus CD - 2000 - No. 5.iso / Tools / Dev / fpc / source / docs / refex / ex36.pp < prev    next >
Encoding:
Text File  |  2000-01-01  |  215 b   |  16 lines

  1. Program Example36;
  2.  
  3. { Program to demonstrate the Length function. }
  4.  
  5. Var S : String;
  6.     I : Integer;
  7.     
  8. begin
  9.   S:='';
  10.   for i:=1 to 10 do
  11.     begin
  12.     S:=S+'*';
  13.     Writeln (Length(S):2,' : ',s);
  14.     end;
  15. end.
  16.